<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ include file="/common/taglibs.jsp"%>
<%@page import="org.acegisecurity.context.SecurityContextHolder"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <%@ include file="/common/meta.jsp" %>
        <title><decorator:title/> | <fmt:message key="webapp.name"/></title>
<link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/simplicity/theme.css'/>" />
<link rel="stylesheet" type="text/css" media="print" href="<c:url value='/styles/simplicity/print.css'/>" />
<link rel="stylesheet" type="text/css" href="<c:url value='/styles/icn.css'/>" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/ajaxtags.css" />

<script type="text/javascript" src="<c:url value='/scripts/prototype.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/scriptaculous.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/global.js'/>"></script>

<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/overlibmws/overlibmws.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/overlibmws/overlibmws_crossframe.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/overlibmws/overlibmws_iframe.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/overlibmws/overlibmws_hide.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/overlibmws/overlibmws_shadow.js"></script>

<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/ajax/ajaxtags.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/ajax/ajaxtags_controls.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/ajax/ajaxtags_parser.js"></script>

        <decorator:head/>
    </head>
<body<decorator:getProperty property="body.id" writeEntireProperty="true"/><decorator:getProperty property="body.class" writeEntireProperty="true"/>>

    <div id="page">
        <div id="header" class="clearfix">
            <jsp:include page="/common/header.jsp"/>
        </div>
        <authz:authorize ifAllGranted="login,membership">
	        <div id="nav">
	       		<jsp:include page="/common/simpleMenu.jsp"/>
	        </div><!-- end nav -->
        </authz:authorize>
        <div id="content">
            <div id="main">
            	<div id="messages">
                <%@ include file="/common/messages.jsp" %>
                </div>
                <h1><decorator:getProperty property="page.heading"/></h1>
                <decorator:body/>
            </div>
        </div>
        <div id="footer" class="clearfix">
            <jsp:include page="/common/footer.jsp"/>
        </div>
    </div>
</body>
</html>
